package com.ruoyi.system.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 健身打卡信息对象 fitnesscheckins
 * 
 * @author 张英旺
 * @date 2024-02-27
 */
public class Fitnesscheckins extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 打卡ID */
    private Long checkId;

    /** 课程ID */
    @Excel(name = "课程ID")
    private Long courseId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 打卡日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "打卡日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkDatetime;

    /** 卡路里消耗 */
    @Excel(name = "卡路里消耗")
    private Double checkCaloriesBurned;

    /** 训练时长 */
    @Excel(name = "训练时长")
    private String checkTrantime;

    /** 打卡状态(1表示已打卡 0表示未打卡) */
    @Excel(name = "打卡状态(1表示已打卡 0表示未打卡)")
    private String checkState;

    /** 备注 */
    @Excel(name = "备注")
    private String checkComment;

    /** 用户信息信息 */
    private List<SysUser> sysUserList;

    /** 健身课程信息信息 */
    private List<Courses> coursesList;

    public void setCheckId(Long checkId) 
    {
        this.checkId = checkId;
    }

    public Long getCheckId() 
    {
        return checkId;
    }
    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setCheckDatetime(Date checkDatetime) 
    {
        this.checkDatetime = checkDatetime;
    }

    public Date getCheckDatetime() 
    {
        return checkDatetime;
    }
    public void setCheckCaloriesBurned(Double checkCaloriesBurned) 
    {
        this.checkCaloriesBurned = checkCaloriesBurned;
    }

    public Double getCheckCaloriesBurned() 
    {
        return checkCaloriesBurned;
    }
    public void setCheckTrantime(String checkTrantime) 
    {
        this.checkTrantime = checkTrantime;
    }

    public String getCheckTrantime() 
    {
        return checkTrantime;
    }
    public void setCheckState(String checkState) 
    {
        this.checkState = checkState;
    }

    public String getCheckState() 
    {
        return checkState;
    }
    public void setCheckComment(String checkComment) 
    {
        this.checkComment = checkComment;
    }

    public String getCheckComment() 
    {
        return checkComment;
    }

    public List<SysUser> getSysUserList()
    {
        return sysUserList;
    }

    public void setSysUserList(List<SysUser> sysUserList)
    {
        this.sysUserList = sysUserList;
    }

    public List<Courses> getCoursesList()
    {
        return coursesList;
    }

    public void setCoursesList(List<Courses> coursesList)
    {
        this.coursesList = coursesList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("checkId", getCheckId())
            .append("courseId", getCourseId())
            .append("userId", getUserId())
            .append("checkDatetime", getCheckDatetime())
            .append("checkCaloriesBurned", getCheckCaloriesBurned())
            .append("checkTrantime", getCheckTrantime())
            .append("checkState", getCheckState())
            .append("checkComment", getCheckComment())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("sysUserList", getSysUserList())
            .append("coursesList", getCoursesList())
            .toString();
    }
}
